package com.onefinger.services;

import java.util.List;

import org.springframework.flex.remoting.RemotingDestination;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.onefinger.domain.Waiter;

@Service
@RemotingDestination(channels = { "my-amf" })
@Transactional
public interface IWaiterService {

	
	public List<Waiter> list();
	
	@Transactional
	public boolean save( Waiter waiter );
	
	@Transactional
	public boolean remove( Waiter waiter );

}
